import { DataType } from './interface'
import type { PayloadAction } from '@reduxjs/toolkit'

// 笔记列表
export const setNoteListData = (state: DataType, action: PayloadAction<any>) => {
  state.note_list_data = {
    ...state.note_list_data,
    ...action.payload
  }
}
